package com.zijiebutiao.pojos;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName t_ordersetting
 */
@TableName(value ="t_ordersetting")
@Data
public class TOrdersetting implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ExcelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderdate;
    @ExcelProperty("可预约数量")
    private Integer number;

    private Integer reservations;

    private static final long serialVersionUID = 1L;
}